package com.chandra.pos.model;

import javax.persistence.*;
import java.util.Date;

/**
 * Created with IntelliJ IDEA.
 * Customer: T4671
 * Date: 10/5/13
 * Time: 10:26 AM
 * To change this template use File | Settings | File Templates.
 */
@MappedSuperclass
public class PosEntity {


    @Id
    @Column(name="ID", unique = true, nullable = false)
    protected Long id;

    @Column(name="DATE_CREATED", unique = false, nullable = true)
    protected Date created;

    @Column(name="DATE_MODIFIED", unique = false, nullable = true)
    protected Date modified;


    @Column(name="CREATED_BY", unique = false, nullable = true)
    protected Long createdBy;

    @Column(name="MODIFIED_BY", unique = false, nullable = true)
    protected Long modifiedBy;




    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public Date getCreated() {
        return created;
    }

    public void setCreated(Date created) {
        this.created = created;
    }

    public Date getModified() {
        return modified;
    }

    public void setModified(Date modified) {
        this.modified = modified;
    }

    public Long getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(Long createdBy) {
        this.createdBy = createdBy;
    }

    public Long getModifiedBy() {
        return modifiedBy;
    }

    public void setModifiedBy(Long modifiedBy) {
        this.modifiedBy = modifiedBy;
    }
}
